h2,h3,p{margin:0;padding:0}
html,body{width:100%;height:100%;background-color:#eee}
body{display: flex;justify-content: center}
#big{
    width:500px;background-color: #fff;margin:auto;
    display:flex;
    flex-wrap: wrap;
    padding:7px;
    justify-content: space-between
}
.goodsItem{
    width:25%;
    border:1px solid #ccc;
    box-shadow: 0 0 8px;
    margin:4px 0;
    /* 这里是防止高度不一致导致下方出现空白 */
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    /* 这里是防止一开始图片没有加载的时候会挤在一块了 */
    min-height: 314px
}
.goodsItem>img{width:100%}
.goodsItem>h2{font-size:14px;padding:5px}
.goodsItem>.info{background-color: #ddd}
.info>p{
    padding:5px
}
.price .now{
    font-size: 16px;
    color:red;
    font-weight: bold
}
.price .old{
    font-size: 12px;
    text-decoration: line-through
}
.sell{
    display: flex;
    justify-content: space-between;
    font-size:14px;
}
.head-nav > div{
    height: 80px;
    color: #333;
    font-weight: 500;
    line-height:80px;
    text-align: center;
}

.goods-info{
    height: 390px;
    width: 70%;
    margin-left: 15%;
    margin-top: 30px;
}
.goods-image{
    float: left;
    height: 390px;
}

.detailedinfo{
    float: left;
    height: 390px;
    width: calc(100% - 510px);
    padding-left: 120px;
}
.goods-name{
    color: #333333;
    font-weight: 600;
    line-height: 35px;
    font-size: 21px;
    margin-bottom: 20px;
}
.goods-description{
    color: #333333;

}

.red-price{
    margin-top: 30px;
    width: 110px;
    height: 37px;
    position: relative;
    background-color: rgb(239,65,39);
}

.yellow-price{
    width: 110px;
    height: 37px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    background-color: rgb(256,206,0);
    font-size: 23px;
    font-weight: 600;
    line-height: 37px;
    text-align: center;
}
.num-check{
    margin-top: 22px;
    height: 45px;
    width: 100%;
}

.num-check-tag{
    float: left;
    width: 62%;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
}
.check-num{
    float: left;
    width: calc(38% - 2px);
    border: 1px solid #dddddd;
}
.check-num > div{
    float: left;
    width: 33.3%;
    line-height: 43px;
    text-align: center;
}



.collect-buy{
    margin-top: 27px;
    height: 50px;
}
.buynow{
    height: 50px;
    line-height: 50px;
    float: left;
    width: calc(70% - 15px);
    margin-right: 15px;
    background-color: rgb(245, 245, 245);
    text-align: center;
    font-weight: 600;
    color: #333333;
}
.collect{
    line-height: 50px;
    text-align: center;
    height: 50px;
    float: left;
    width: 30%;
    background-color: rgb(245, 245, 245);
    font-weight: 600;
    color: #333333;
}
.add-cart{
    margin-top: 12px;
    background-color: rgb(256,206,0);
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-weight: 600;
    color: #333333;

}